package com.carey.myblog.mapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

import com.carey.myblog.pojo.Comment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
* @author carey-
* @description 针对表【t_comment】的数据库操作Mapper
* @createDate 2022-05-28 13:44:05
* @Entity com.carey.myblog.pojo.Comment
*/
public interface CommentMapper extends BaseMapper<Comment> {
    List<Comment> selectAllByBlogId(@Param("blogId") Long blogId, @Param("parentCommentId") Long parentCommentId);

    List<Comment> selectAllByParentCommentId(@Param("parentCommentId") Long parentCommentId);
}




